package com.erlang.spring.service.impl;

import com.erlang.spring.dao.AccountDao;
import com.erlang.spring.pojo.Account;
import com.erlang.spring.service.AccountService;

import java.util.List;

/**
 * @Description：账户服务service实现类
 */
public class AccountServiceImpl implements AccountService {

  private AccountDao accountDao;

  @Override
  public List<Account> findAll() {
    return accountDao.findAll();
  }

  public void setAccountDao(AccountDao accountDao) {
    this.accountDao = accountDao;
  }
}